package com.yunji.order.dto.cmd;

import com.yunji.order.domain.RefundDO;
import com.yunji.order.emuns.RefundStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : peter-zhu
 * @date : 2025/3/28 13:38
 * @description : TODO
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class RefundRejectCommandDTO extends RefundCommandDTO {
    private String rejectReason;

    public RefundRejectCommandDTO(RefundDO refundDO, RefundStatusEnum newStatus, String rejectReason) {
        super(refundDO, newStatus);
        this.rejectReason = rejectReason;
    }
}
